package blog.service;

import blog.pojo.User;

public interface UserService {

    User selectById(Integer id) throws Exception;

    User selectByName(String name) throws Exception;

    Boolean updatePassword(String name, String newPassword) throws Exception;
}
